package studentinformationmanagementsystem.entity;

import java.io.Serializable;
import java.util.Objects;

/**
 * @author 苗庆
 * @version 1.0
 * 教师任课表实体类
 */
public class TeachersSchedules implements Serializable {

    private static final long serialVersionUID = 1L;

    //教师任课表id
    private Integer teachersschedulesid;
    //课程表id
    private Integer courseid;
    //教师表id
    private Integer teacherid;

   //课程表id
    private Integer classScheduleId;

    //是否已经删除 0未删除 1已经删除
    private Integer IsDelete;


    public TeachersSchedules() {

    }

    public TeachersSchedules(Integer teachersschedulesid, Integer courseid, Integer teacherid, Integer classScheduleId, Integer isDelete) {
        this.teachersschedulesid = teachersschedulesid;
        this.courseid = courseid;
        this.teacherid = teacherid;
        this.classScheduleId = classScheduleId;
        IsDelete = isDelete;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        TeachersSchedules that = (TeachersSchedules) o;
        return teachersschedulesid.equals(that.teachersschedulesid);
    }

    @Override
    public String toString() {
        return "TeachersSchedules{" +
                "teachersschedulesid=" + teachersschedulesid +
                ", courseid=" + courseid +
                ", teacherid=" + teacherid +
                ", classScheduleId=" + classScheduleId +
                ", IsDelete=" + IsDelete +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getTeachersschedulesid() {
        return teachersschedulesid;
    }

    public void setTeachersschedulesid(Integer teachersschedulesid) {
        this.teachersschedulesid = teachersschedulesid;
    }

    public Integer getCourseid() {
        return courseid;
    }

    public void setCourseid(Integer courseid) {
        this.courseid = courseid;
    }

    public Integer getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(Integer teacherid) {
        this.teacherid = teacherid;
    }

    public Integer getClassScheduleId() {
        return classScheduleId;
    }

    public void setClassScheduleId(Integer classScheduleId) {
        this.classScheduleId = classScheduleId;
    }

    public Integer getIsDelete() {
        return IsDelete;
    }

    public void setIsDelete(Integer isDelete) {
        IsDelete = isDelete;
    }
}
